{% extends 'main_hub/base.html' %}

{% block nav %}
    <div class="container">
        <ul class="nav nav-tabs">
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "video" %}active{% endifequal %}"
                   href="{% url 'search_video' %}?page_name=video&keyword={{ keyword }}">视频</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "user" %}active{% endifequal %}"
                   href="{% url 'search_user' %}?page_name=user&keyword={{ keyword }}">用户</a>
            </li>
            <li class="nav-item">
                <a class="nav-link {% ifequal page_name "live" %}active{% endifequal %}"
                   href="{% url 'search_live' %}?page_name=live&keyword={{ keyword }}">直播</a>
            </li>
        </ul>
    </div>
{% endblock %}

{% block content %}
{% endblock %}

{% block custom_jss %}
{% endblock %}